package cn.net.dckj.modules.biz.entity;

import cn.net.dckj.common.persistence.DataEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 学生课表实体类
 *
 * @author hqj <br/>
 *         date:2019-4-15
 * @version 1.0.0
 */
@Entity
@Table(name = "biz_student_timetable")
public class StudentTimetableBean extends DataEntity<StudentTimetableBean> {
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy", timezone = "GMT+8")
    private Date schoolYear;      // 学年
    private String term;          // 学期，字典[学期]
    private String weekStart;     // 学周开始，字典[学周]
    private String weekEnd;       // 学周结束，字典[学周]
    private String section;       // 课节(第几节课)，字典[课节]
    private String courseName;    // 课程名称
    private String teacherId;     // 上课教师id
    private String teacherIdCard; // 上课教师身份证号
    private String teacherName;   // 上课教师姓名
    private String address;       // 上课教室地点
    private String studentId;     // 上课学生id
    private String studentIdCard; // 上课学生身份证号
    private String studentName;   // 上课学生姓名

    public Date getSchoolYear() {
        return schoolYear;
    }

    public void setSchoolYear(Date schoolYear) {
        this.schoolYear = schoolYear;
    }

    public String getTerm() {
        return term;
    }

    public void setTerm(String term) {
        this.term = term;
    }

    public String getWeekStart() {
        return weekStart;
    }

    public void setWeekStart(String weekStart) {
        this.weekStart = weekStart;
    }

    public String getWeekEnd() {
        return weekEnd;
    }

    public void setWeekEnd(String weekEnd) {
        this.weekEnd = weekEnd;
    }

    public String getSection() {
        return section;
    }

    public void setSection(String section) {
        this.section = section;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherIdCard() {
        return teacherIdCard;
    }

    public void setTeacherIdCard(String teacherIdCard) {
        this.teacherIdCard = teacherIdCard;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getStudentIdCard() {
        return studentIdCard;
    }

    public void setStudentIdCard(String studentIdCard) {
        this.studentIdCard = studentIdCard;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }
}
